{include file="rootbase/head"}

<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>个人中心</h3>
        </div>
    </div>
    <div class="clearfix"></div>

    <div class="row">
        <div class="col-md-12 col-sm-12">
            <div class="x_panel">
                <div class="x_content">
                    <form class="" action="http://www.tp5.com/vote/root/personedit?id={$data['rootid']}" method="post" novalidate="">
                        <span class="section">Personal Info</span>
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">账号:<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="id" value="{$data['rootid']}" disabled="disabled">
                            </div>
                        </div>   
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">姓名:<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="name" value="{$data['rootname']}" required="required">
                            </div>
                        </div>    
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">密码<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" type="password" id="password1" value="{$data['password']}" name="password" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&amp;*]).{8,}" title="Minimum 8 Characters Including An Upper And Lower Case Letter, A Number And A Unique Character" required="">
                            </div>
                        </div>
                        <div class="field item form-group">
                            <label class="col-form-label col-md-3 col-sm-3  label-align">电话<span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6">
                                <input class="form-control" type="tel" name="phone" value="{$data['tel']}" required="required" data-validate-length-range="8,20"></div>
                        </div>
                        <div class="ln_solid">
                            <div class="form-group">
                                <div class="col-md-6 offset-md-3">
                                    <button type="submit" class="btn btn-primary">修改</button>
                                    <button type="reset" class="btn btn-success">重置</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="rootbase/foot"}